PREVIEW: Let's find the area! Changes in height and width will affect each shape's area calculation.

  • We're using the width and height of each shape to calculate their area.
  • Click Run and notice that as you move your mouse, the shapes change their width and height!
  • The shape's new area is displayed as well. The rectangle's area is an integer, but the circle's area is a float!
  • Click Submit and Next to start building your program!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)